<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::GCodeWriter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_g_code_writer.html">GCodeWriter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_g_code_writer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::GCodeWriter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_g_code_writer_8hpp_source.html">GCodeWriter.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aff7ac3fd8eedb51cf3a2db9b06bd513e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#aff7ac3fd8eedb51cf3a2db9b06bd513e">GCodeWriter</a> ()</td></tr>
<tr class="separator:aff7ac3fd8eedb51cf3a2db9b06bd513e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd0afc8b4b81cad69d4156c5045e4cef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#acd0afc8b4b81cad69d4156c5045e4cef">extruder</a> () const</td></tr>
<tr class="separator:acd0afc8b4b81cad69d4156c5045e4cef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6736544bfd0b6fde6be4d221f752562"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#ac6736544bfd0b6fde6be4d221f752562">extrusion_axis</a> () const</td></tr>
<tr class="separator:ac6736544bfd0b6fde6be4d221f752562"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d9068f6a16f55b700fb8efb28aa141c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a0d9068f6a16f55b700fb8efb28aa141c">apply_print_config</a> (const <a class="el" href="class_slic3r_1_1_print_config.html">PrintConfig</a> &amp;print_config)</td></tr>
<tr class="separator:a0d9068f6a16f55b700fb8efb28aa141c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22cb29d635d972036f48e2b96496432c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a22cb29d635d972036f48e2b96496432c">set_extruders</a> (const std::vector&lt; unsigned int &gt; &amp;extruder_ids)</td></tr>
<tr class="separator:a22cb29d635d972036f48e2b96496432c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84aba7a50d947edb6ee9be6df11f4fb9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a84aba7a50d947edb6ee9be6df11f4fb9">notes</a> ()</td></tr>
<tr class="memdesc:a84aba7a50d947edb6ee9be6df11f4fb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write any notes provided by the user as comments in the gcode header.  <a href="#a84aba7a50d947edb6ee9be6df11f4fb9">More...</a><br /></td></tr>
<tr class="separator:a84aba7a50d947edb6ee9be6df11f4fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48eee9aa8426351149b13b8398365887"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a48eee9aa8426351149b13b8398365887">preamble</a> ()</td></tr>
<tr class="memdesc:a48eee9aa8426351149b13b8398365887"><td class="mdescLeft">&#160;</td><td class="mdescRight">Actually write the preamble information.  <a href="#a48eee9aa8426351149b13b8398365887">More...</a><br /></td></tr>
<tr class="separator:a48eee9aa8426351149b13b8398365887"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fc5f3b7c8d223df2e2b765ee439bfcc"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a2fc5f3b7c8d223df2e2b765ee439bfcc">postamble</a> () const</td></tr>
<tr class="separator:a2fc5f3b7c8d223df2e2b765ee439bfcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216ebb59191fee7974e2f92c810ab34a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a216ebb59191fee7974e2f92c810ab34a">set_temperature</a> (unsigned int temperature, bool wait=false, int tool=-1) const</td></tr>
<tr class="separator:a216ebb59191fee7974e2f92c810ab34a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd9b51c0ed3ce144ecc76fcac25f423"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a8bd9b51c0ed3ce144ecc76fcac25f423">set_bed_temperature</a> (unsigned int temperature, bool wait=false) const</td></tr>
<tr class="separator:a8bd9b51c0ed3ce144ecc76fcac25f423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a3da6f9a2e3d05a114d8828da1332e"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a11a3da6f9a2e3d05a114d8828da1332e">set_fan</a> (unsigned int speed, bool dont_save=false)</td></tr>
<tr class="separator:a11a3da6f9a2e3d05a114d8828da1332e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32de57050284efca595c97b3c45c440c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a32de57050284efca595c97b3c45c440c">set_acceleration</a> (unsigned int acceleration)</td></tr>
<tr class="separator:a32de57050284efca595c97b3c45c440c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac98fe6c3bb46ab111e09c866c5f85340"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#ac98fe6c3bb46ab111e09c866c5f85340">reset_e</a> (bool force=false)</td></tr>
<tr class="separator:ac98fe6c3bb46ab111e09c866c5f85340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdb4af43a7de1eb5306916d49ece48a6"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#acdb4af43a7de1eb5306916d49ece48a6">update_progress</a> (unsigned int num, unsigned int tot, bool allow_100=false) const</td></tr>
<tr class="separator:acdb4af43a7de1eb5306916d49ece48a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbe9a8dd86d4f6902fc6ee21dc66488c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#afbe9a8dd86d4f6902fc6ee21dc66488c">need_toolchange</a> (unsigned int extruder_id) const</td></tr>
<tr class="separator:afbe9a8dd86d4f6902fc6ee21dc66488c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaef67373d031af2fe242d83be91a58c8"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#aaef67373d031af2fe242d83be91a58c8">set_extruder</a> (unsigned int extruder_id)</td></tr>
<tr class="separator:aaef67373d031af2fe242d83be91a58c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757a9cef6954dfa4e625986e63b757a0"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a757a9cef6954dfa4e625986e63b757a0">toolchange</a> (unsigned int extruder_id)</td></tr>
<tr class="separator:a757a9cef6954dfa4e625986e63b757a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01196561de349d6ff9c0004fccba59b5"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a01196561de349d6ff9c0004fccba59b5">set_speed</a> (double F, const std::string &amp;comment=std::string(), const std::string &amp;cooling_marker=std::string()) const</td></tr>
<tr class="separator:a01196561de349d6ff9c0004fccba59b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9f961d9aa20c430bdde69477590d83d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#ac9f961d9aa20c430bdde69477590d83d">travel_to_xy</a> (const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;point, const std::string &amp;comment=std::string())</td></tr>
<tr class="separator:ac9f961d9aa20c430bdde69477590d83d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af73130cdd9742f5a3be23535d3c3edb2"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#af73130cdd9742f5a3be23535d3c3edb2">travel_to_xyz</a> (const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;point, const std::string &amp;comment=std::string())</td></tr>
<tr class="separator:af73130cdd9742f5a3be23535d3c3edb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0008f46affc37f57e6bcb84404aeac7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#ad0008f46affc37f57e6bcb84404aeac7">travel_to_z</a> (double z, const std::string &amp;comment=std::string())</td></tr>
<tr class="separator:ad0008f46affc37f57e6bcb84404aeac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3de2d3b2dd0b6c75aff17f81558f844a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a3de2d3b2dd0b6c75aff17f81558f844a">will_move_z</a> (double z) const</td></tr>
<tr class="separator:a3de2d3b2dd0b6c75aff17f81558f844a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e9e327ea2e54d2a0143a23692d9b350"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a0e9e327ea2e54d2a0143a23692d9b350">extrude_to_xy</a> (const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;point, double dE, const std::string &amp;comment=std::string())</td></tr>
<tr class="separator:a0e9e327ea2e54d2a0143a23692d9b350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96fcdbceb2e603c961b2cc3996f74bf2"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a96fcdbceb2e603c961b2cc3996f74bf2">extrude_to_xyz</a> (const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;point, double dE, const std::string &amp;comment=std::string())</td></tr>
<tr class="separator:a96fcdbceb2e603c961b2cc3996f74bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d9ba005c858b7d307c39c497561baa1"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a8d9ba005c858b7d307c39c497561baa1">retract</a> ()</td></tr>
<tr class="separator:a8d9ba005c858b7d307c39c497561baa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afab74b2afb24f54bff5da857606ddda2"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#afab74b2afb24f54bff5da857606ddda2">retract_for_toolchange</a> ()</td></tr>
<tr class="separator:afab74b2afb24f54bff5da857606ddda2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a905e4b6cac518c660d67243d24a91a17"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a905e4b6cac518c660d67243d24a91a17">unretract</a> ()</td></tr>
<tr class="separator:a905e4b6cac518c660d67243d24a91a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8130197338e387242407d919f994c4ac"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a8130197338e387242407d919f994c4ac">lift</a> ()</td></tr>
<tr class="separator:a8130197338e387242407d919f994c4ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72c75bc8726961f48c191034585fbb85"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a72c75bc8726961f48c191034585fbb85">unlift</a> ()</td></tr>
<tr class="separator:a72c75bc8726961f48c191034585fbb85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55464af90f7b55de998eeb6aede9e4f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a55464af90f7b55de998eeb6aede9e4f2">get_position</a> () const</td></tr>
<tr class="separator:a55464af90f7b55de998eeb6aede9e4f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a489f0a47c20b7b8f40fded7fec0e53ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_g_code_config.html">GCodeConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a489f0a47c20b7b8f40fded7fec0e53ac">config</a></td></tr>
<tr class="separator:a489f0a47c20b7b8f40fded7fec0e53ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6209c229133bd6163b4e937fc0c6e0c2"><td class="memItemLeft" align="right" valign="top">std::map&lt; unsigned int, <a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#a6209c229133bd6163b4e937fc0c6e0c2">extruders</a></td></tr>
<tr class="separator:a6209c229133bd6163b4e937fc0c6e0c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae071802e9fb76729dee5727e53e27e9d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_writer.html#ae071802e9fb76729dee5727e53e27e9d">multiple_extruders</a></td></tr>
<tr class="separator:ae071802e9fb76729dee5727e53e27e9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aff7ac3fd8eedb51cf3a2db9b06bd513e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff7ac3fd8eedb51cf3a2db9b06bd513e">&#9670;&nbsp;</a></span>GCodeWriter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::GCodeWriter::GCodeWriter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0d9068f6a16f55b700fb8efb28aa141c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d9068f6a16f55b700fb8efb28aa141c">&#9670;&nbsp;</a></span>apply_print_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeWriter::apply_print_config </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_print_config.html">PrintConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>print_config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e9e327ea2e54d2a0143a23692d9b350"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e9e327ea2e54d2a0143a23692d9b350">&#9670;&nbsp;</a></span>extrude_to_xy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::extrude_to_xy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dE</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a96fcdbceb2e603c961b2cc3996f74bf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96fcdbceb2e603c961b2cc3996f74bf2">&#9670;&nbsp;</a></span>extrude_to_xyz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::extrude_to_xyz </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dE</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acd0afc8b4b81cad69d4156c5045e4cef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd0afc8b4b81cad69d4156c5045e4cef">&#9670;&nbsp;</a></span>extruder()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a>* Slic3r::GCodeWriter::extruder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac6736544bfd0b6fde6be4d221f752562"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6736544bfd0b6fde6be4d221f752562">&#9670;&nbsp;</a></span>extrusion_axis()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::extrusion_axis </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a55464af90f7b55de998eeb6aede9e4f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55464af90f7b55de998eeb6aede9e4f2">&#9670;&nbsp;</a></span>get_position()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> Slic3r::GCodeWriter::get_position </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8130197338e387242407d919f994c4ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8130197338e387242407d919f994c4ac">&#9670;&nbsp;</a></span>lift()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::lift </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afbe9a8dd86d4f6902fc6ee21dc66488c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbe9a8dd86d4f6902fc6ee21dc66488c">&#9670;&nbsp;</a></span>need_toolchange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::GCodeWriter::need_toolchange </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>extruder_id</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a84aba7a50d947edb6ee9be6df11f4fb9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84aba7a50d947edb6ee9be6df11f4fb9">&#9670;&nbsp;</a></span>notes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::notes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write any notes provided by the user as comments in the gcode header. </p>

</div>
</div>
<a id="a2fc5f3b7c8d223df2e2b765ee439bfcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fc5f3b7c8d223df2e2b765ee439bfcc">&#9670;&nbsp;</a></span>postamble()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::postamble </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a48eee9aa8426351149b13b8398365887"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48eee9aa8426351149b13b8398365887">&#9670;&nbsp;</a></span>preamble()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::preamble </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Actually write the preamble information. </p>

</div>
</div>
<a id="ac98fe6c3bb46ab111e09c866c5f85340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac98fe6c3bb46ab111e09c866c5f85340">&#9670;&nbsp;</a></span>reset_e()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::reset_e </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8d9ba005c858b7d307c39c497561baa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d9ba005c858b7d307c39c497561baa1">&#9670;&nbsp;</a></span>retract()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::retract </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="afab74b2afb24f54bff5da857606ddda2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afab74b2afb24f54bff5da857606ddda2">&#9670;&nbsp;</a></span>retract_for_toolchange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::retract_for_toolchange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a32de57050284efca595c97b3c45c440c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32de57050284efca595c97b3c45c440c">&#9670;&nbsp;</a></span>set_acceleration()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_acceleration </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>acceleration</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8bd9b51c0ed3ce144ecc76fcac25f423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bd9b51c0ed3ce144ecc76fcac25f423">&#9670;&nbsp;</a></span>set_bed_temperature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_bed_temperature </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>temperature</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>wait</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aaef67373d031af2fe242d83be91a58c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaef67373d031af2fe242d83be91a58c8">&#9670;&nbsp;</a></span>set_extruder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_extruder </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>extruder_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a22cb29d635d972036f48e2b96496432c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22cb29d635d972036f48e2b96496432c">&#9670;&nbsp;</a></span>set_extruders()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeWriter::set_extruders </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; unsigned int &gt; &amp;&#160;</td>
          <td class="paramname"><em>extruder_ids</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a11a3da6f9a2e3d05a114d8828da1332e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11a3da6f9a2e3d05a114d8828da1332e">&#9670;&nbsp;</a></span>set_fan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_fan </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>speed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dont_save</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a01196561de349d6ff9c0004fccba59b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01196561de349d6ff9c0004fccba59b5">&#9670;&nbsp;</a></span>set_speed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_speed </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>F</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>cooling_marker</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a216ebb59191fee7974e2f92c810ab34a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a216ebb59191fee7974e2f92c810ab34a">&#9670;&nbsp;</a></span>set_temperature()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::set_temperature </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>temperature</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>wait</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>tool</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a757a9cef6954dfa4e625986e63b757a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a757a9cef6954dfa4e625986e63b757a0">&#9670;&nbsp;</a></span>toolchange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::toolchange </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>extruder_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac9f961d9aa20c430bdde69477590d83d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9f961d9aa20c430bdde69477590d83d">&#9670;&nbsp;</a></span>travel_to_xy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::travel_to_xy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af73130cdd9742f5a3be23535d3c3edb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af73130cdd9742f5a3be23535d3c3edb2">&#9670;&nbsp;</a></span>travel_to_xyz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::travel_to_xyz </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad0008f46affc37f57e6bcb84404aeac7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0008f46affc37f57e6bcb84404aeac7">&#9670;&nbsp;</a></span>travel_to_z()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::travel_to_z </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>comment</em> = <code>std::string()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a72c75bc8726961f48c191034585fbb85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72c75bc8726961f48c191034585fbb85">&#9670;&nbsp;</a></span>unlift()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::unlift </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a905e4b6cac518c660d67243d24a91a17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a905e4b6cac518c660d67243d24a91a17">&#9670;&nbsp;</a></span>unretract()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::unretract </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acdb4af43a7de1eb5306916d49ece48a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdb4af43a7de1eb5306916d49ece48a6">&#9670;&nbsp;</a></span>update_progress()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Slic3r::GCodeWriter::update_progress </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>num</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>tot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>allow_100</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3de2d3b2dd0b6c75aff17f81558f844a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3de2d3b2dd0b6c75aff17f81558f844a">&#9670;&nbsp;</a></span>will_move_z()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::GCodeWriter::will_move_z </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>z</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a489f0a47c20b7b8f40fded7fec0e53ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a489f0a47c20b7b8f40fded7fec0e53ac">&#9670;&nbsp;</a></span>config</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_g_code_config.html">GCodeConfig</a> Slic3r::GCodeWriter::config</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6209c229133bd6163b4e937fc0c6e0c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6209c229133bd6163b4e937fc0c6e0c2">&#9670;&nbsp;</a></span>extruders</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt;unsigned int,<a class="el" href="class_slic3r_1_1_extruder.html">Extruder</a>&gt; Slic3r::GCodeWriter::extruders</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae071802e9fb76729dee5727e53e27e9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae071802e9fb76729dee5727e53e27e9d">&#9670;&nbsp;</a></span>multiple_extruders</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::GCodeWriter::multiple_extruders</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_g_code_writer_8hpp_source.html">GCodeWriter.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_g_code_writer_8cpp.html">GCodeWriter.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
